<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:sec="http://www.springframework.org/security/tags"
	xmlns:p="http://primefaces.org/ui" template="/templates/main.xhtml">

	<ui:define name="metadata"></ui:define>

	<ui:define name="title">
		<h:outputText value="#{I18N.APP_TITLE}" />
	</ui:define>
	<ui:define name="top">
		<ui:include src="/snippets/top.xhtml" />
	</ui:define>
	<ui:define name="content">
		<div id="content">
			<div class="container-fluid">
				<div class="row-fluid">
					<div class="span4">
						<!--Liste-->
						<ui:include src="/snippets/_recipe_list.xhtml" />
					</div>
					<h:panelGroup id="recipe_detail" >
						<h:panelGroup id="recipe_detail_content" layout="block"
							styleClass="span8" rendered="#{! empty C_RECIPE.recipe}">
							<div class="row-fluid juice-panel">
								<!--Detail-->
								<ui:include src="/snippets/_recipe_detail.xhtml" />
							</div>
							<div class="row-fluid juice-panel">
								<!--Comments-->
								<ui:include src="/snippets/_recipe_comment.xhtml" />
							</div>
							<!-- </div>  -->
						</h:panelGroup>
					</h:panelGroup>
				</div>
			</div>
		</div>
	</ui:define>
	<ui:define name="footer">
		<ui:include src="/snippets/footer.xhtml" />
	</ui:define>
</ui:composition>
